#/bin/bash

#storageClassName: openebs-hostpath
#storageClassName: nfs-storage
#storageClassName: local

#image: 'mysql:5.7.35'
#image: 'arm64v8/mysql:8.0.32'


#./replace.sh his nfs-storage mysql:5.7.35
#./replace.sh cloud local arm64v8\\/mysql:8.0.32
#./replace.sh cloud nfs-storage arm64v8\\/mysql:8.0.32
#./replace.sh cloud local arm64v8\\/mysql:8.0.32
#./replace.sh his nfs-storage arm64v8\\/mysql:8.0.32
#./replace.sh gulimall nfs-storage arm64v8\\/mysql:8.0.32
./replace.sh gulimall nfs-storage mysql:8.0.22
#./replace.sh cloud nfs-storage mysql:8.0.22

kubectl apply -f 1pvc.yaml
kubectl apply -f 2config.yaml
#kubectl apply -f 3secret.yaml
kubectl apply -f 4deploy.yaml
kubectl apply -f 5service.yaml
#kubectl apply -f 6service-nodeport.yaml


